#@layout() #define main()
<article class="cl pd-20">
	<div class="text-c">
		<span class="select-box inline"> <select name="" class="select">
				<option value="0">全部分类</option>
				<option value="1">分类一</option>
				<option value="2">分类二</option>
		</select>
		</span> 日期范围： <input type="text"
			onfocus="WdatePicker({maxDate:'#F{$dp.$D(\'logmax\')||\'%y-%M-%d\'}'})"
			id="logmin" class="input-text Wdate" style="width: 120px;"> -
		<input type="text"
			onfocus="WdatePicker({minDate:'#F{$dp.$D(\'logmin\')}',maxDate:'%y-%M-%d'})"
			id="logmax" class="input-text Wdate" style="width: 120px;"> <input
			type="text" name="" id="" placeholder=" 资讯名称" style="width: 250px"
			class="input-text">
		<button name="" id="" class="btn btn-success" type="submit">
			<i class="Hui-iconfont"></i> 搜资讯
		</button>
	</div>
	<div class="cl pd-5 bg-1 bk-gray mt-20">
		<span class="l"> <a href="javascript:;" onclick="datadel()"
			class="btn btn-danger radius"><i class="Hui-iconfont"></i> 批量删除</a>
			<a class="btn btn-primary radius" data-title="添加资讯"
			_href="article-add.html"
			onclick="article_add('添加资讯','article-add.html')" href="javascript:;"><i
				class="Hui-iconfont"></i> 添加资讯</a>
		</span> <span class="r">共有数据：<strong>54</strong> 条
		</span>
	</div>
	<div class="mt-20">
		<div id="DataTables_Table_0_wrapper"
			class="dataTables_wrapper no-footer">
			<div class="dataTables_length" id="DataTables_Table_0_length">
				<label>显示 <select name="DataTables_Table_0_length"
					aria-controls="DataTables_Table_0" class="select"><option
							value="10">10</option>
						<option value="25">25</option>
						<option value="50">50</option>
						<option value="100">100</option></select> 条
				</label>
			</div>
			<div id="DataTables_Table_0_filter" class="dataTables_filter">
				<label>从当前数据中检索:<input type="search" class="input-text "
					aria-controls="DataTables_Table_0"></label>
			</div>
			<table
				class="table table-border table-bordered table-bg table-hover table-sort dataTable no-footer"
				id="DataTables_Table_0" role="grid"
				aria-describedby="DataTables_Table_0_info">
				<thead>
					<tr class="text-c" role="row">
						<th width="25" class="sorting_disabled" rowspan="1" colspan="1"
							aria-label="" style="width: 25px;"><input type="checkbox"
							name="" value=""></th>
						<th width="80" class="sorting_desc" tabindex="0"
							aria-controls="DataTables_Table_0" rowspan="1" colspan="1"
							aria-sort="descending" aria-label="ID: 升序排列" style="width: 80px;">ID</th>
						<th class="sorting" tabindex="0"
							aria-controls="DataTables_Table_0" rowspan="1" colspan="1"
							aria-label="标题: 升序排列" style="width: 400px;">菜单url</th>
						<th width="80" class="sorting" tabindex="0"
							aria-controls="DataTables_Table_0" rowspan="1" colspan="1"
							aria-label="分类: 升序排列" style="width: 80px;">菜单名称</th>
						<th width="80" class="sorting" tabindex="0"
							aria-controls="DataTables_Table_0" rowspan="1" colspan="1"
							aria-label="来源: 升序排列" style="width: 80px;">菜单类型</th>
						<th width="120" class="sorting" tabindex="0"
							aria-controls="DataTables_Table_0" rowspan="1" colspan="1"
							aria-label="更新时间: 升序排列" style="width: 120px;">父级菜单ID</th>
						<th width="75" class="sorting" tabindex="0"
							aria-controls="DataTables_Table_0" rowspan="1" colspan="1"
							aria-label="浏览次数: 升序排列" style="width: 75px;">菜单排序值</th>
						<th width="120" class="sorting_disabled" rowspan="1" colspan="1"
							aria-label="操作" style="width: 120px;">操作</th>
					</tr>
				</thead>
				<tbody>
					#for(m:menus)		
						<tr class="text-c odd" role="row">
							<td><input type="checkbox" value="" name=""></td>
							<td class="sorting_1">#(m.id)</td>
							<td class="text-l"><u style="cursor: pointer"
								class="text-primary"
								onclick="article_edit('查看','article-zhang.html','10002')"
								title="查看">#(m.url)</u></td>
							<td>#(m.name)</td>
							<td class="td-status"><span
								class="label label-success radius">#if(m.type=='1')父级菜单#else子系菜单#end</span></td>
							<td>#(m.parentId)</td>
							<td>#(m.sortValue)</td>
							<td class="f-14 td-manage"><a style="text-decoration: none"
								onclick="article_shenhe(this,'10001')" href="javascript:;"
								title="审核">审核</a> <a style="text-decoration: none" class="ml-5"
								onclick="article_edit('资讯编辑','article-add.html','10001')"
								href="javascript:;" title="编辑"><i class="Hui-iconfont"></i></a>
								<a style="text-decoration: none" class="ml-5"
								onclick="article_del(this,'10001')" href="javascript:;"
								title="删除"><i class="Hui-iconfont"></i></a></td>
						</tr>
					#end
				</tbody>
			</table>
			<div class="dataTables_info" id="DataTables_Table_0_info"
				role="status" aria-live="polite">显示 1 到 2 ，共 2 条</div>
			<div class="dataTables_paginate paging_simple_numbers"
				id="DataTables_Table_0_paginate">
				<a class="paginate_button previous disabled"
					aria-controls="DataTables_Table_0" data-dt-idx="0" tabindex="0"
					id="DataTables_Table_0_previous">上一页</a><span><a
					class="paginate_button current" aria-controls="DataTables_Table_0"
					data-dt-idx="1" tabindex="0">1</a></span><a
					class="paginate_button next disabled"
					aria-controls="DataTables_Table_0" data-dt-idx="2" tabindex="0"
					id="DataTables_Table_0_next">下一页</a>
			</div>
		</div>
	</div>
</article>
#end
